
<!-- sidebar: style can be found in sidebar.less -->
<section class="sidebar">
	<!-- Sidebar user panel -->
	<div class="user-panel">
		<div class="pull-left image">
			<img src="/img/user2-160x160.jpg" class="img-circle" alt="User Image">
		</div>
		<div class="pull-left info">
			<p>${userFormMap.username!}</p>
			<a href="#">
				<i class="fa fa-circle text-success"></i>
				Online
			</a>
		</div>
	</div>
	<!-- search form -->
	<form action="#" method="get" class="sidebar-form">
		<div class="input-group">
			<input type="text" name="q" class="form-control" placeholder="Search...">
			<span class="input-group-btn">
				<button type="submit" name="search" id="search-btn" class="btn btn-flat">
					<i class="fa fa-search"></i>
				</button>
			</span>
		</div>
	</form>
	<!-- /.search form -->
	<!-- sidebar menu: : style can be found in sidebar.less -->
	<ul class="sidebar-menu">
		<li class="header">系統菜单</li>
		<li class="treeview">
			<a href="#">
				<i class="fa  fa-cogs"></i>
				<span>系统基础管理</span>
				<span class="pull-right-container">
					<i class="fa fa-angle-left pull-right"></i>
				</span>
			</a>
			<ul class="treeview-menu">
				<li>
					<a href="javascript:void(0)" class="" nav-n="系统基础管理,角色管理,/role/role_do/index.do?id=3">
						<i class="fa fa-circle-o"></i>
						角色管理
					</a>
				</li>
				<li>
					<a href="javascript:void(0)" class="" nav-n="系统基础管理,菜单管理,/res/res_do/index.do?id=4">
						<i class="fa fa-circle-o"></i>
						菜单管理
					</a>
				</li>
				<li>
					<a href="javascript:void(0)" class="active" nav-n="系统基础管理,用户管理,/user/user_do/index.do?id=2">
						<i class="fa fa-user"></i>
						用户管理
					</a>
				</li>
			</ul>
		</li>
		<li class="treeview">
			<a href="#">
				<i class="fa  fa-wrench"></i>
				<span>开发工具</span>
				<span class="pull-right-container">
					<i class="fa fa-angle-left pull-right"></i>
				</span>
			</a>
			<ul class="treeview-menu">
				<li>
					<a href="javascript:void(0)" class="active" nav-n="开发工具,代码生成,/sys/generator_do/index.do">
						<i class="fa fa-circle-o"></i>
						代码生成
					</a>
				</li>
				<li>
					<a href="/swagger-ui.html" target="_blank" class="active">
						<i class="fa fa-circle-o"></i>
						API文档
					</a>
				</li>
				
			</ul>
		</li>
		
		<li class="treeview">
			<a href="#">
				<i class="fa fa-file-image-o"></i>
				<span>OSS管理</span>
				<span class="pull-right-container">
					<i class="fa fa-angle-left pull-right"></i>
				</span>
			</a>
			<ul class="treeview-menu">
				<li>
					<a href="javascript:void(0)" class="active" nav-n="OSS管理,OSS设置,/sys/config_do/index.do">
						<i class="fa fa-circle-o"></i>
						OSS设置
					</a>
				</li>
				<li>
					<a href="javascript:void(0)" class="active" nav-n="OSS管理,OSS设置,/sys/oss_do/index.do">
						<i class="fa fa-circle-o"></i>
						图片管理
					</a>
				</li>
			</ul>
		</li>
		
		<li class="treeview">
			<a href="#">
				<i class="fa fa-tasks"></i>
				<span>任务管理</span>
				<span class="pull-right-container">
					<i class="fa fa-angle-left pull-right"></i>
				</span>
			</a>
			<ul class="treeview-menu">
				<li>
					<a href="javascript:void(0)" class="active" nav-n="任务管理,定时任务,/sys/schedule_do/index.do">
						<i class="fa fa-circle-o"></i>
						定时任务
					</a>
				</li>
				<li>
					<a href="javascript:void(0)" class="active" nav-n="任务管理,任务记录,/sys/scheduleLog_do/index.do">
						<i class="fa fa-circle-o"></i>
						任务记录
					</a>
				</li>
			</ul>
		</li>
		<li class="treeview">
			<a href="#">
				<i class="fa fa-wechat"></i>
				<span>微信</span>
				<span class="pull-right-container">
					<i class="fa fa-angle-left pull-right"></i>
				</span>
			</a>
			<ul class="treeview-menu">
				<li>
					<a href="javascript:void(0)" class="active" nav-n="微信,微信设置,/weixin/weixinsetting_do/index.do?id=a1de7ebbde7646849fa59785610dfee8">
						<i class="fa fa-circle-o"></i>
						微信设置
					</a>
				</li>
			</ul>
		</li>
		<li class="treeview">
			<a href="#">
				<i class="fa fa-television"></i>
				<span>系统监控管理</span>
				<span class="pull-right-container">
					<i class="fa fa-angle-left pull-right"></i>
				</span>
			</a>
			<ul class="treeview-menu">
				<li>
					<a target="_blank" href="/druid/index.html" class="active">
						<i class="fa fa-eye"></i>
						连接池监控访问监控
					</a>
				</li>
				<li>
					<a target="_blank" href="/monitoring">
						<i class="fa fa-eye"></i>
						服务器监控
					</a>
				</li>
			</ul>
		</li>
	</ul>
</section>
<!-- /.sidebar -->
<script type="text/javascript">
    function SYSTERMINTT() {
        //修改时间2015年10月13日14:32:57
        //修改在手机上点击菜单后菜单不关闭问题
        //修改人赵雷
        var winwidth = $("body").width();
        if (winwidth < 770) {
            $("#nav ul.lt li").click(function() {
                $("#nav").removeClass("nav-off-screen");
            });
        }
        //---------修改人赵雷完毕----------
        var tb = $("#loadhtml");
        tb.html(CommnUtil.loadingImg());
        tb.load(rootPath + "/common/login_do/welcome.do");
        $("[nav-n]").each(function() {
            $(this).bind("click", function() {
                var nav = $(this).attr("nav-n");
                var sn = nav.split(",");
                var html = '<li><i class="fa fa-home"></i>';
                html += '<a href="/common/login_do/index.do">Home</a></li>';
                for (var i = 0; i < 2; i++) {
                    html += '<li><a href="javascript:void(0)">' + sn[i] + '</a></li>';
                }
                $("#topli").html(html);
                var tb = $("#loadhtml");
                tb.html(CommnUtil.loadingImg());
                tb.load(rootPath + sn[2]);
            });
        });
    }
    SYSTERMINTT();
</script>